AVR1636 Configurable PMSM Sensorless FOC using the XMEGA  1.0